package com.property.manage.configuration;

import com.guardchina.framework.auth.jwt.JsonWebToken;
import com.property.manage.properties.LoginJwtProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/3/24
 */
@Configuration
public class JsonWebTokenConfiguration {

    @Bean
    public JsonWebToken userJsonWebToken(LoginJwtProperties properties){
        return new JsonWebToken(properties);
    }
}
